import request from '@/utils/request'

//获取不合格品处理单
export function Info(id) {
    return request({
      url: `/api/Business/defecthandle/${id}`,
      method: 'get',
    })
  }
  //获取不合格品处理单列表
  export function getDefecthandleList(data) {
    return request({
      url: `/api/Business/defecthandle`,
      method: 'get',
      data
    })
  }
  //提交审批流程
  export function Update(data)
  {
    return request({
      url: `/api/Business/defecthandle`,
      method: 'put',
      data
    })
  }